package com.itheima.Day02test01;
//汽车类;
public class car extends motorvehicles {
    public car() {
    }

    public car(String brand, String price) {
        super(brand, price);
    }

    @Override
    public void method1() {
        System.out.println("这是一个汽车类");
    }
}

